package vip.denglei.company.model.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户订单详情
 */
@Data
@TableName(value = "app_user_order_details")
public class AppUserOrderDetails {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private String orderId;

    /**
     * 商品id
     */
    @TableField(value = "pro_id")
    private String proId;

    /**
     * 商品名称
     */
    @TableField(value = "pro_name")
    private String proName;

    /**
     * 商品图片
     */
    @TableField(value = "pro_img")
    private String proImg;

    /**
     * 购买数量
     */
    @TableField(value = "pro_volume")
    private Integer proVolume;

    /**
     * 单价
     */
    @TableField(value = "pro_price")
    private Integer proPrice;
    /**
     * 购物车id
     */
    @TableField(exist = false)
    private Integer shoppingCartId;

    /**
     * 商品单位
     */
    private String proUnit;

}